// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import VueRouter from 'vue-router'
import App from './App'
import './common/css/style.css'
import Home from './components/home'
import Login from './components/login'
import Resign from './components/resign'
import rank from './components/rank'
import Message from './components/message'
import TuCao from './components/TuCao'
import Fabu from './components/Fabu'
import About from'./components/About'
import uploadphoto from './components/uploadphoto.vue'
import MyComment from './components/MyComment.vue'
import MyCollect from './components/MyCollect.vue'
import Article from './components/Article.vue'

Vue.use(VueRouter)

const routes = [{
  path: '/',
  component: Home
},
{
  path:'/uploadphoto ',
  component:uploadphoto 
},
{
path:'/Fabu',
component:Fabu

},
{
  path:'/login',
  component:Login
},
{
  path:'/resign',
  component:Resign 
},
{
  path: '/rank',
  component: rank
},
{
  path:'/message',
  component:Message
},
 {
  path: '/TuCao',
  component: TuCao

},
{
path:'/About',
component:About

},
{
path:'/MyComment',
component:MyComment

},
{
path:'/MyCollect',
component:MyCollect

},
{
path:'/Article',
component:Article

}
]

const router = new VueRouter({
  routes
})

FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  router,
  render: h => h(App)
}).$mount('#app-box')
